﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ConfigCamera : MonoBehaviour {
    public static bool isUI = false;
    Camera mainCamera;
    void Start () {
        mainCamera = GetComponent<Camera>();

    }

    public void SetFieldOfView(float value)
    {
        mainCamera.fieldOfView =  100 * value + 1;
    }

    public void SetOrthographic(bool value)
    {
        mainCamera.orthographic = value;
    }
}
